package com.iqik.dubbo_spi;

import org.apache.dubbo.common.URL;
import org.apache.dubbo.common.extension.Adaptive;
import org.apache.dubbo.common.extension.SPI;

@SPI("dog")
public interface HelloService {

    String sayHello(String name);

    @Adaptive // 动态选择
    String sayHello(URL url);
}
